package com.haopt.annotation.obtain;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author haopt
 * @version 1.0
 * @ClassName StudentConfig
 * @Description TODO
 * @date 2021/5/11 23:41
 */
@Configuration
public class StudentConfig {

    @Bean
    public Student getStudent(){
        return new Student();
    }
}
